package com.hst.capacity.infra.persistence.jpa.driver;

import com.hst.capacity.domain.model.entity.driver.DriverCertificateEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface DriverCertificateRepository extends JpaRepository<DriverCertificateEntity, String>, JpaSpecificationExecutor<DriverCertificateEntity> {
    /**
     * 根据司机ID查询
     * @param idDriver
     * @return
     */
    DriverCertificateEntity findByIdDriver(String idDriver);
}
